/**
 * Created by Administrator on 2017/3/14.
 */
import Vue from 'vue';
import Vuex from 'vuex';
import getters from './getters';
import variables from '../common/css/element-variables.scss';
// import * as actions from './actions'
import mutations from './mutations';

Vue.use(Vuex);
const state = {
  user: {}, //当前登录的user信息
  routes: [],
  theme: variables.theme,
};
export default new Vuex.Store({
  state,
  getters,
  // actions,
  mutations,
});
